delete data from reference table in dotnetcore